package org.vergil.core.designpattern.mediator;

/**
 * Created by vergil on 17-3-24.
 */
public class List extends Component {
    @Override
    public void update(String arg) {
        System.out.println("列表框增加一项："+ arg);
    }

    public void select() {
        System.out.println("列表框选中项:" + arg);
    }
}
